import request from "@/plugins/request";
import axios from "axios";

var pre = "/rvhealth/employee";

if (process.env.NODE_ENV !== "development") {
    pre = '/api/rvsa/rv-health' + pre;
}

// 根据userId获得员工信息
export function getEmployeeByUserId(query) {
  return request({
    url: `${pre}/getByUserId`,
    method: 'get',
    params: query
  })
}
